The mv command moves files and directories from one directory to another or renames a file or directory. If you move a file or directory to a new directory, it ...
To move files, use the mv command (man mv), which is similar to the cp command, except that with mv the file is physically moved from one place to another.